#include<stdio.h>

struct Book{
    int id; 
    char name[100];
    float price; 
};

void findbook(struct Book book[], float minprice){
     int count = 0;
     for(int i = 1; i <= 5; i++){
	if(book[i].price >= minprice){
	    printf("%s\n", book[i].name);
	    count++;
	}
     }
     if(count == 0) printf("无\n");
}
int main(){
    struct Book book[5] = {
        {1, "A", 45.5},
        {2, "B", 68.0},
        {3, "C", 85.5},
        {4, "D", 62.0},
        {5, "E", 78.5}
    };
    float minprice;
    printf("请输入指定的售价: ");
    scanf("%f", &minprice);
    printf("售价大于 %.2f 的书籍信息:\n", minprice);
    findbook(book, minprice);
    return 0;
}
